import adminLogin from "@/components/admin/adminLogin";
import adminMain from "@/components/admin/adminMain";
import Main from "@/components/admin/Components/Main";
import adminUser from "@/components/admin/Components/user/adminUser";
import adminVipUser from "@/components/admin/Components/user/adminVipUser";
import adminBlackListUser from "@/components/admin/Components/user/adminBlackListUser";
import adminReview from "@/components/admin/Components/task/adminReview";
import adminSettlementOrder from "@/components/admin/Components/order/adminSettlementOrder";
import adminOrder from "@/components/admin/Components/order/adminOrder";
import adminPassTask from "@/components/admin/Components/task/adminPassTask";
import adminUserInfo from "@/components/admin/Components/adminUserInfo";
import adminRefuseTask from "@/components/admin/Components/task/adminRefuseTask";
import adminRefuseOrder from "@/components/admin/Components/order/adminRefuseOrder";
import orderStatistic from "@/components/admin/Components/order/orderStatistic";
import taskStatistic from "@/components/admin/Components/task/taskStatistic";
import userStatistic from "@/components/admin/Components/user/userStatistic";
const routes = [
    {
        path: '/admin',
        redirect: '/adminLogin'
    }, {
        path: '/adminLogin',
        component: adminLogin,
    }, {
        path: '/adminMain',
        component: adminMain,
        children: [
            {
                path: '',
                component: Main,
            },
            {
                path: 'Main',
                component: Main,
            }, {
                path: 'adminUser',
                component: adminUser
            }, {
                path: 'adminVipUser',
                component: adminVipUser
            }, {
                path: 'adminBlackListUser',
                component: adminBlackListUser
            }, {
                path: 'adminReview',
                component: adminReview
            },
            {
                path: 'adminPassTask',
                component: adminPassTask
            }, {
                path: 'adminRefuseTask',
                component: adminRefuseTask
            },
            {
                path: 'adminSettlementOrder',
                component: adminSettlementOrder
            }, {
                path: 'adminRefuseOrder',
                component: adminRefuseOrder
            }, {
                path: 'adminOrder',
                component: adminOrder
            }, {
                path: 'orderStatistic',
                component: orderStatistic
            }, {
                path: 'taskStatistic',
                component: taskStatistic
            }, {
                path: 'userStatistic',
                component: userStatistic
            }, {
                path: 'adminUserInfo',
                component: adminUserInfo
            }
        ]
    }
]

export default routes
